package com.shunhe.storage.dao.model;

import java.io.Serializable;
import java.util.List;

public class Goods implements Serializable {
    private static final long serialVersionUID = 3271124402473742533L;

    private String name;
    private String desc;
    private String num;
    private String volume;
    private String weight;

    private List<StorageBin> binList;

    // 货品所在的库位
    public static class StorageBin implements Serializable {
        private static final long serialVersionUID = -3066287187775907432L;
        private String name;
        private String num;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public List<StorageBin> getBinList() {
        return binList;
    }

    public void setBinList(List<StorageBin> binList) {
        this.binList = binList;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                ", num='" + num + '\'' +
                ", volume='" + volume + '\'' +
                ", weight='" + weight + '\'' +
                '}';
    }
}
